July 23, 2020
let data = [1,2,undefined,NaN,null,'ㅋ']; Array.prototype.getIndex = () => {}
data.forEach(res => { console.log(res); })
for(let i in data){ console.log(data[i]); }
for(let a of data){ console.log(a); }
🚀GitHub